Total Complexity | 37 |
Dependencies | 1 |
Dependents | 10 |
Total lines | 345 |
Lines of code | 186 |
Logical lines of code | 121 |
Comment lines | 73 |
Methods | 10 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
create_token() | 46 | 7 | 40 | |
create_item() | 50 | 5 | 28 | |
update_item() | 53 | 5 | 22 | |
has_valid_token() | 56 | 5 | 19 | |
get_items() | 51 | 4 | 24 | |
delete_item() | 57 | 4 | 15 | |
get_item() | 58 | 3 | 15 | |
get_user_email_by_token() | 62 | 2 | 12 | |
is_valid_token() | 78 | 1 | 3 | |
generate_token() | 65 | 1 | 8 |